package com.example.task;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class CountTask {

    /*@Scheduled(fixedRate = 3000)
    public void task1(){
        *//*log.info("hello,world!");*//*
        System.out.println("hello,world!");
    }*/

    /*@Scheduled(cron = "0/5 * * * * *")
    public void task1(){
        log.info("hello,world!");
        *//*System.out.println("hello,world!");*//*
    }*/

}
